<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Order extends Model
{
    protected $table = "orders";
	use HasDateTimeFormatter;
	const STATUS_HOLD = 1;
    const STATUS_SELL = 2;
    const STATUS = [
        1=>'持有',
        2=>'卖出'
    ];
    const BUY_FORM = [
        1=>'正常',
        2=>'冲高回落'
    ];
    const BUY_REASON = [
        1=>'3倍成交',
        2=>'龙头战法'
    ];
    const SELL_REASON = [
        0=>'暂未卖出',
        1=>'止盈',
        2=>'止损',
        3=>'超时'
    ];
}
